"""
@author:menglei
@desc:创建多多进宝推广位
"""
from pdd.api.base import RestApi


class PddDdkGoodsPidGenerateRequest(RestApi):
    """
    @:param: number:LONG:要生成的推广位数量，默认为10，范围为：1~100
    @:param: p_id_name_list:STRING[]:推广位名称，例如["1","2"]
    """
    def __init__(self,domain='https://gw-api.pinduoduo.com'):
        RestApi.__init__(self, domain)
        self.number = None
        self.p_id_name_list = None

    def getapiname(self):
        return 'pdd.ddk.goods.pid.generate'